home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2002 March
/
PCWorld_2002-03_cd.bin
/
Software
/
TemaCD
/
xteq
/
setup.exe
/
{app}
/
plugins
/
XQ AOL Sound 01.xpl
< prev
next >
Wrap
Text File
|
2000-03-17
|
2KB
|
69 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0"
"TYPE"="1"
"COUNT"="5"
"UIPATH"="Program Options\America Online"
"NAME"="Default Sound #1"
"LANGUAGE"="VBScript"
"VERSION"="1.10"
"TEXT 1"="#1 NewMail"
"TEXT 2"="#2 Welcome"
"TEXT 3"="#3 Goodbye"
"TEXT 4"="#4 FileDone"
"TEXT 5"="#5 BuddyIn"
"DESCRIPTION 1"="You may change the sound to suit your preference. Use the full path and file name for your new preference."
"DESCRIPTION 2"="The default value are:"
"DESCRIPTION 3"="#1: gotmail.wav"
"DESCRIPTION 4"="#2: welcome.wav"
"DESCRIPTION 5"="#3: goodbye.wav"
"DESCRIPTION 6"="#4: filedone.wav"
"DESCRIPTION 7"="#5: buddyin.wav"
"DESCRIPTION 8"="If you don't want any sound, clear the fields."
"AUTHOR"="Ojatex@aol.com"
"CONTACTURL"="http://members.aol.com/ojatex/"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"=" "
"COMMENT 2"="Hate AOL sounds? Then zip 'em & ship 'em!"
sPath="HKCU\AppEvents\Schemes\Apps\Waol\"
sV1="HKCU\AppEvents\Schemes\Apps\Waol\You've Got Mail\.Current\@"
sV2="HKCU\AppEvents\Schemes\Apps\Waol\Welcome\.Current\@"
sV3="HKCU\AppEvents\Schemes\Apps\Waol\Goodbye\.Current\@"
sV4="HKCU\AppEvents\Schemes\Apps\Waol\File's Done\.Current\@"
sV5="HKCU\AppEvents\Schemes\Apps\Waol\BuddyIn\.Current\@"
Sub Plugin_Initialize
if RegPathExists(sPath) then
SetUIElement 1,RegReadValue(sV1)
SetUIElement 2,RegReadValue(sV2)
SetUIElement 3,RegReadValue(sV3)
SetUIElement 4,RegReadValue(sV4)
SetUIElement 5,RegReadValue(sV5)
else
Disable
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
Call RegWriteValue(sV1,GetUIElement(1),1)
Call RegWriteValue(sV2,GetUIElement(2),1)
Call RegWriteValue(sV3,GetUIElement(3),1)
Call RegWriteValue(sV4,GetUIElement(4),1)
Call RegWriteValue(sV5,GetUIElement(5),1)
End Sub
Sub Plugin_Terminate
End Sub